import { ApiProperty } from '@nestjs/swagger';
import { IsNotEmpty } from 'class-validator';

export class CreateUserDto {
  @ApiProperty({ type: 'string', example: '用户名称' })
  @IsNotEmpty({ message: '名称不能为空' })
  readonly s_name: string;
}
